/**
 * Copyright (c) iwindplus Technologies Co., Ltd.2024-2030, All rights reserved.
 */

package com.iwindplus.boot.swagger;

import com.iwindplus.boot.swagger.service.SwaggerService;
import com.iwindplus.boot.swagger.service.impl.SwaggerServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Swagger配置.
 *
 * @author zengdegui
 * @since 2018/9/1
 */
@Slf4j
@Configuration
public class SwaggerConfiguration {
    /**
     * 创建 SwaggerService.
     *
     * @return SwaggerService
     */
    @Bean
    public SwaggerService swaggerService() {
        final SwaggerService swaggerService = new SwaggerServiceImpl();
        log.info("SwaggerService={}", swaggerService);
        return swaggerService;
    }
}
